POV-Ray : Newsgroups : povray.beta-test : #debug stream and \n : Re: #debug stream and \n Server Time
29 Jul 2024 06:23:07 EDT (-0400)
  Re: #debug stream and \n  
From: Warp
Date: 16 Mar 2004 17:10:23
Message: <40577b4f@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> POV-Ray 3.6 beta 2 works as expected. A newline is required for a debug
> message to be printed instantly.  Otherwise it will be printed at the end of
> the render.

  I'm seeing a need for a #flush command here... ;)

  Usually if people are printing something with #debug, they want it
printed immediately. As the name depicts, you use it for debugging
purposes, not something which requires maximum speed. For debugging
purposes it may be important to see the printout immediately.
  I think that the output should be flushed after each #debug. I can't
think of any useful reason why it wouldn't.

  I also wonder if it would be a good idea to have a separate window
for the #debug stream (at least in the Windows version). Printing #debug
text in the messages window makes it hard to spot what was printed among
all the other text. This could be a selectable option.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.